package com.canal.admin.transfer.resp.item;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yangbo
 * @date 2020-06-24 16:51
 */
@Data
@Builder
public class ItemDetailResp {

    private Integer id;

    private String name;

    private Integer channelId;

    private String channelName;

    /** apk下载地址 */
    private String apkUrl;

    /** h5地址 */
    private String h5Url;

    /** uv单价 */
    private BigDecimal uvPrice;

    /** 注册单价 */
    private BigDecimal regPrice;

    /** 进量开始 */
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private Date inputStart;

    /** 进量结束 */
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private Date inputEnd;

    /** 扣量比例 */
    private Integer discountRate;

    /** 扣量状态 */
    private Boolean discountState;
}
